Optimal. Leaf size=43 \[ -\frac{(a \sec (c+d x)+a)^{n+1} \text{Hypergeometric2F1}(1,n+1,n+2,\sec (c+d x)+1)}{a d (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0413094, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {3880, 65} \[ -\frac{(a \sec (c+d x)+a)^{n+1} \, _2F_1(1,n+1;n+2;\sec (c+d x)+1)}{a d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3880
Rule 65
Rubi steps
\begin{align*} \int (a+a \sec (c+d x))^n \tan (c+d x) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{(a+a x)^n}{x} \, dx,x,\sec (c+d x)\right )}{d}\\ &=-\frac{\, _2F_1(1,1+n;2+n;1+\sec (c+d x)) (a+a \sec (c+d x))^{1+n}}{a d (1+n)}\\ \end{align*}
Mathematica [A] time = 0.0421604, size = 43, normalized size = 1. \[ -\frac{(a (\sec (c+d x)+1))^{n+1} \text{Hypergeometric2F1}(1,n+1,n+2,\sec (c+d x)+1)}{a d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.317, size = 0, normalized size = 0. \begin{align*} \int \left ( a+a\sec \left ( dx+c \right ) \right ) ^{n}\tan \left ( dx+c \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \tan \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a \sec \left (d x + c\right ) + a\right )}^{n} \tan \left (d x + c\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \left (\sec{\left (c + d x \right )} + 1\right )\right )^{n} \tan{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sec \left (d x + c\right ) + a\right )}^{n} \tan \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]